<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use DB;
class PermissionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $permissions = [
        	['permission_name' => '删除用户'],
        	['permission_name' => '添加文章'],
        	['permission_name' => '删除文章'],
        	['permission_name' => '编辑文章'],
        ];
        DB::table('permission')->insert($permissions);
    }
}
